<template>
    <div><h1>{{msg}}</h1><button @click="myclick">按钮</button></div>
</template>

<script>
    export default {
        name: "App",
        data(){
            return{
                msg:'世界你好222'
            }
        },
        methods:{
            myclick(){
                alert('shijie')
            }
        }
    }
</script>

<style scoped>

</style>
